using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace RetailAnalytic.Core
{
    public partial class Frm_Name : frmTemplate
    {
        public Frm_Name()
        {
            System.Threading.Thread.CurrentThread.CurrentUICulture = new System.Globalization.CultureInfo(RetailAnalytic.Core.Properties.Settings.Default.CurrentCulture.Name);
            InitializeComponent();
            ultraFormattedTextEditor1_TextChanged(this, EventArgs.Empty);
        }
        public string _Get_NewName
        {
            get
            {
                return this._name.Text;
            }
            set
            {
                this._name.Text = value;
            }
        }
        void ultraFormattedTextEditor1_TextChanged(object sender, EventArgs e)
        {
            if (this._name.Text != "")
            {
                this.ubt_Ok.Enabled = true;
            }
            else
            {
                this.ubt_Ok.Enabled = false;
            }
        }
    }
}